package com.qingfeng


object ProjectDepClassVersion {
    const val build_gradle = "7.0.3"
    const val kotlin_gradle_plugin = "1.5.20"
    const val hilt_android_gradle_plugin = "2.40.4"
}

object AndroidXDepVersion {
    const val core_version = "1.7.0"
    const val core_splashscreen_version = "1.0.0-alpha02"
    const val appcompat_version = "1.2.0"
    const val activity_version  = "1.4.0"
    const val swiperefreshlayout_version  = "1.1.0"
    const val material_version = "1.3.0"
    const val constraint_layout_version = "2.0.4"
    const val junit_version = "4.+"
    const val ext_junit_version = "1.1.2"
    const val espresso_core_version = "3.3.0"
//    const val kotlinx_coroutines_version = "1.5.2"
    const val kotlinx_coroutines_version = "1.3.9"
    const val lifecycle_version  = "2.4.0"
}


object AndroidXDep {
    const val core_ktx = "androidx.core:core-ktx:${AndroidXDepVersion.core_version}"
    const val core_splashscreen = "androidx.core:core-splashscreen:${AndroidXDepVersion.core_splashscreen_version}"
    const val appcompat = "androidx.appcompat:appcompat:${AndroidXDepVersion.appcompat_version}"
    const val activity = "androidx.activity:activity-ktx:${AndroidXDepVersion.activity_version}"
    const val swiperefreshlayout = "androidx.swiperefreshlayout:swiperefreshlayout:${AndroidXDepVersion.swiperefreshlayout_version}"
    const val constraintLayout = "androidx.constraintlayout:constraintlayout:${AndroidXDepVersion.constraint_layout_version}"
    const val material = "com.google.android.material:material:${AndroidXDepVersion.material_version}"
    const val junit = "junit:junit:${AndroidXDepVersion.junit_version}"
    const val ext_junit = "androidx.test.ext:junit:${AndroidXDepVersion.ext_junit_version}"
    const val espresso_core = "androidx.test.espresso:espresso-core:${AndroidXDepVersion.espresso_core_version}"
    const val kotlinx_coroutines_android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:${AndroidXDepVersion.kotlinx_coroutines_version}"
    const val kotlinx_coroutines_core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${AndroidXDepVersion.kotlinx_coroutines_version}"
    const val lifecycle_viewmodel_ktx = "androidx.lifecycle:lifecycle-viewmodel-ktx:${AndroidXDepVersion.lifecycle_version}"
    const val lifecycle_runtime_ktx = "androidx.lifecycle:lifecycle-runtime-ktx:${AndroidXDepVersion.lifecycle_version}"

    val values = arrayListOf(
        core_ktx,
        core_splashscreen,
        lifecycle_viewmodel_ktx,
        appcompat,
        activity,
        swiperefreshlayout,
        constraintLayout,
        material,
        kotlinx_coroutines_android,
        kotlinx_coroutines_core,
    )
}


object NetWorkDepVersion {
    const val retrofit_version = "2.9.0"
    const val okhttp_version = "4.9.3"
}

object NetWorkDep {
    const val retrofit = "com.squareup.retrofit2:retrofit:${NetWorkDepVersion.retrofit_version}"
    const val converter_gson = "com.squareup.retrofit2:converter-gson:${NetWorkDepVersion.retrofit_version}"
    const val okhttp = "com.squareup.okhttp3:okhttp:${NetWorkDepVersion.okhttp_version}"

    val values = arrayListOf(
        retrofit,
        converter_gson,
        okhttp,
    )
}



object ThirdDepVersion {
    const val utilCode = "1.30.6"
    const val materialDialogs = "3.1.1"
    const val bottomTab = "2.3.0X"
    const val adaperHelp = "3.0.4"
    const val banner = "2.1.0"
    const val coil = "1.1.0"
    const val zxingLite = "2.1.1"
    const val picture_library = "v2.5.8"
    const val GSYVideoPlayer = "7.1.1"
    const val glide = "4.9.0"
    const val mango = "1.1.1"
}

object ThirdDep {
    const val util_code = "com.blankj:utilcodex:${ThirdDepVersion.utilCode}"
    const val dialogs = "com.afollestad.material-dialogs:lifecycle:${ThirdDepVersion.materialDialogs}"
    const val dialogs_core = "com.afollestad.material-dialogs:core:${ThirdDepVersion.materialDialogs}"
    const val bottomTab = "me.majiajie:pager-bottom-tab-strip:${ThirdDepVersion.bottomTab}"
    const val adaperHelp = "com.github.CymChad:BaseRecyclerViewAdapterHelper:${ThirdDepVersion.adaperHelp}"
    const val banner = "com.youth.banner:banner:${ThirdDepVersion.banner}"
    const val coil = "io.coil-kt:coil:${ThirdDepVersion.coil}" //图片加载
    const val zxingLite = "com.github.jenly1314:zxing-lite:${ThirdDepVersion.zxingLite}"
    const val picture_library = "com.github.LuckSiege.PictureSelector:picture_library:${ThirdDepVersion.picture_library}" //图片加载
    const val GSYVideoPlayer = "com.shuyu:GSYVideoPlayer:${ThirdDepVersion.GSYVideoPlayer}"
    const val glide = "com.github.bumptech.glide:glide:${ThirdDepVersion.glide}"
    const val glideCompiler = "com.github.bumptech.glide:compiler:${ThirdDepVersion.glide}"
    const val mango = "com.jelly:mango:${ThirdDepVersion.mango}"
}

object RoomDepVersion {
    const val room_version = "2.3.0"
    const val room_paging_version = "2.4.0-rc01"
}

object RoomDep {
    const val runtime = "androidx.room:room-runtime:${RoomDepVersion.room_version}"
    const val compiler = "androidx.room:room-compiler:${RoomDepVersion.room_version}"
    const val ktx = "androidx.room:room-ktx:${RoomDepVersion.room_version}"
    const val testing = "androidx.room:room-testing:${RoomDepVersion.room_version}"
    const val paging = "androidx.room:room-paging:${RoomDepVersion.room_paging_version}"
}

object HiltDepVersion {
    const val hilt_version = "2.40.4"
}

object HiltDep {
    const val hilt_android = "com.google.dagger:hilt-android:${HiltDepVersion.hilt_version}"
    const val hilt_compiler = "com.google.dagger:hilt-compiler:${HiltDepVersion.hilt_version}"
}


object IkangDepVersion {
    const val easyshow = "1.0.4"
    const val calendar = "1.0.6"
    const val util = "1.3.9"
    const val volley = "1.2.2"
    const val libxbanner = "1.0.2"
    const val libview = "1.0.1"
    const val pagestate = "1.1.3"
    const val picture = "1.1.5"
    const val basequickadapter = "1.0.2"
    const val convenientbanner = "1.0.7"
}


object IkangDep {

    const val easyshow = "com.ikang.libeasyshow:lib.easyshow:${IkangDepVersion.easyshow}"
    const val calendar = "com.ikang.libcalendar:lib.calendar:${IkangDepVersion.calendar}"
    const val util = "com.ikang.libutil:lib.util:${IkangDepVersion.util}"
    const val volley = "com.ikang.libvolley:lib.volley:${IkangDepVersion.volley}"
    const val libxbanner = "com.ikang.libxbanner:libxbanner:${IkangDepVersion.libxbanner}"
    const val libview = "com.ikang.libview:libview:${IkangDepVersion.libview}"
    const val pagestate = "com.ikang.libpagestate:lib.pagestate:${IkangDepVersion.pagestate}"
    const val picture = "com.ikang.libpicture:lib.picture:${IkangDepVersion.picture}"
    const val basequickadapter = "com.ikang.libbasequickadapter:lib.basequickadapter:${IkangDepVersion.basequickadapter}"
    const val convenientbanner = "com.ikang.libconvenientbanner:lib.convenientbanner:${IkangDepVersion.convenientbanner}"

}
